<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/21
 * Time: 11:01
 */

namespace app\common\model;


use think\Model;
use traits\model\SoftDelete;

class SuppliersCompany extends Model
{
    use SoftDelete;
    protected $table = 'suppliers_company';
    protected $deleteTime = 'delete_time';
    protected $hidden = ['delete_time'];

    public function getAddressAreaAttr($name){
        return $name?:'';
    }
    public function getAddressAttr($name){
        return $name?:'';
    }
    public function getDueTimeAttr($name){
        return $name?:'';
    }
}